var e = require("./@babel/runtime/helpers/interopRequireDefault.js");

Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var r = e(require("./@babel/runtime/helpers/objectSpread.js")), t = e(require("./@babel/runtime/helpers/toConsumableArray.js")), s = e(require("68F366E12FB173BF0E950EE60514DCA6.js")), a = e(require("E413CDF02FB173BF8275A5F7CD64DCA6.js")), o = e(require("220888E72FB173BF446EE0E0DA74DCA6.js")), l = e(require("29AC4DA62FB173BF4FCA25A14334DCA6.js"));

exports.default = function() {
    var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
    return e.externalClasses = [ "wux-class", "wux-hover-class" ].concat((0, t.default)(e.externalClasses = e.externalClasses || [])), 
    e.behaviors = [ a.default, s.default, o.default ].concat((0, t.default)(e.behaviors = e.behaviors || [])), 
    e.useFunc && (e.behaviors = [].concat((0, t.default)(e.behaviors), [ l.default ]), 
    delete e.useFunc), e.useField && (e.behaviors = [].concat((0, t.default)(e.behaviors), [ "wx://form-field" ]), 
    delete e.useField), e.useExport && (e.behaviors = [].concat((0, t.default)(e.behaviors), [ "wx://component-export" ]), 
    e.methods = (0, r.default)({
        export: function() {
            return this;
        }
    }, e.methods), delete e.useExport), e.options = (0, r.default)({
        multipleSlots: !0,
        addGlobalClass: !0
    }, e.options), Component(e);
};